

import Fetch  from "../utils/fetch"
import Request  from "../utils/request"


// 统一接口文件配置

// 首页轮播图接口    axios实现

export  const   banner =  () => Fetch.get("/banner")
// export  const   banner =  () => Request({
//     url:"/api/banner",
//     headers:{
//         DeviceType: "H5"
//     }
// })

// 首页接口
export  const   cartList =  () => Fetch.get("/recommend/appIndex")
// export  const   cartList =  () => Request({
//    url: "/api/recommend/appIndex",

// })

// 课程详情接口
export  const   courceId =  (data) => Fetch.get(`/courseInfo/basis_id=${data}`)

// 老师详情接口
export  const   teacherId =  (data) => Fetch.get(`/teacher/${data}`)



// 老师详情接口   ?page=1&limit=10
export  const   coursebasis =  (data) => Fetch.get("/courseBasis",data)





